<?php

interface BWICartItem {

    /**
     * in this function ,will return :
     * 1)shopping cart column list
     * 2)shoppingcart summary column
     * 3)other rules for showing shopping cart list
     * @param type $data
     * @return array
     */
    public function getItemInfo($data = NULL);
    /**
     * shoppingcart class will call this function with some stutus
     * @param type $data
     */
    public function onAddToCart($data = NULL);
    /**
     * shoppingcart will call this function after submit shopping cart
     * @param type $data
     */
    public function onSubmitCart($data=NULL);
    
}
